package myLink;

/**
 * Description:
 * Author:    Dane
 * CreateTime:2024/8/23-下午3:38
 * Since  :   1.0
 * Version:   1.0
 */
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * Description:
 * Author:    Dane
 * CreateTime:2024/8/20-下午5:04
 * Since  :   1.0
 * Version:   1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class TwoHero {
    public int no;
    public String name;
    public String nickName;
    public TwoHero next;
    public TwoHero pre;

    public TwoHero(int no, String name, String nickName) {
        this.no = no;
        this.name = name;
        this.nickName = nickName;
    }
}
